﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateFile.aspx.cs" Inherits="UDS.WebApp.SubModule.UpdateFilePage" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>Add New File</title>
  <uds:Style runat="server" Href="~/css/BasicLayout.css" />
</head>
<body>
  <form runat="server">
  <uds:PageTitle runat="server" HintImage="~/Images/icon/284.GIF">
    <TitlePanel>公共下载 &#187; 新增文件</TitlePanel>
  </uds:PageTitle>
  <table cellspacing="0" cellpadding="0" width="100%" border="0" class="formtable">
    <tr>
      <td width="100" class="formlabel">
        名称
      </td>
      <td>
        <uds:RequiredTextBox runat="server" ID="txtName" Width="400px" />
      </td>
    </tr>
    <tr>
      <td class="formlabel">
        版本
      </td>
      <td>
        <uds:RequiredTextBox runat="server" ID="txtVersion" Width="400px" Text="1.0" />
      </td>
    </tr>
    <tr>
      <td class="formlabel">
        类型
      </td>
      <td>
        <uds:CatalogDropDownList runat="server" ID="listCatalog" Width="200px" IgnoreItemAll="true" />
        <asp:RequiredFieldValidator runat="server" ControlToValidate="listCatalog" ErrorMessage="(*)" Display="Dynamic" />
      </td>
    </tr>
    <tr>
      <td class="formlabel">
        附件
      </td>
      <td>
        <asp:FileUpload runat="server" ID="fileUpload" Width="400px" />
        <asp:PlaceHolder runat="server" ID="phOldFile" Visible="false">
          <p>
            <asp:HyperLink runat="server" ID="linkOldFile" />
            (注意：如果不上传新文件则继续使用原文件)
          </p>
        </asp:PlaceHolder>
      </td>
    </tr>
    <tr class="InputCss">
      <td>
        &nbsp;
      </td>
      <td>
        <p>
          <asp:CheckBox runat="server" ID="cbInvalid" Text="将此文件作废？" />
        </p>
        <p>
          <asp:Button ID="btnUpdateFile" runat="server" CssClass="ButtonCss" Text=" 确 定 " />
          <input class="ButtonCss" style="width: 58px; height: 20px" onclick="javascript:window.location.href='FileList.aspx';" type="button" value=" 返  回 " />
        </p>
      </td>
    </tr>
  </table>
  </form>
</body>
</html>
